package com.bleeth.flow.web.model;

import lombok.Data;
import xyz.erupt.annotation.Erupt;
import xyz.erupt.annotation.EruptField;
import xyz.erupt.annotation.fun.DataProxy;
import xyz.erupt.annotation.sub_field.Edit;
import xyz.erupt.annotation.sub_field.View;
import xyz.erupt.annotation.sub_field.sub_edit.Search;
import xyz.erupt.jpa.model.BaseModel;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author ：Bleeth
 * @date ：2022-05-16
 * @description：兴业数据管理模型
 */

@Erupt(name = "Flow任务日志管理",
        dataProxy = FlowLogModel.class
)
@Entity
@Table(name = "flow_task_log")
@Data
public class FlowLogModel  extends FlowBaseModel implements DataProxy<FlowLogModel> {



    @EruptField(
            views = @View(title = "FlowUid", sortable = true),
            edit = @Edit(title = "FlowUid",search = @Search(vague = true))
    )
    private String flowUid;


    @EruptField(
            views = @View(title = "日志id", sortable = true),
            edit = @Edit(title = "日志id",search = @Search(vague = true))
    )
    private String logUid;

    @EruptField(
            views = @View(title = "日志内容", sortable = true),
            edit = @Edit(title = "日志内容",search = @Search(vague = true))
    )
    private String logContent;

    @EruptField(
            views = @View(title = "日志内容", sortable = true),
            edit = @Edit(title = "日志内容",search = @Search(vague = true))
    )
    private String createdTime;

}
